﻿
namespace TotalSystems.DataAccess.Store
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Data.Objects.DataClasses;
    using System.Linq;
    //using System.ServiceModel.DomainServices.Hosting;
    //using System.ServiceModel.DomainServices.Server;


    // The MetadataTypeAttribute identifies STR_StuffMetadata as the class
    // that carries additional metadata for the STR_Stuff class.
    [MetadataTypeAttribute(typeof(STR_Stuff.STR_StuffMetadata))]
    public partial class STR_Stuff
    {

        // This class allows you to attach custom attributes to properties
        // of the STR_Stuff class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class STR_StuffMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private STR_StuffMetadata()
            {
            }

            public short ACC_Fy_ID_fk { get; set; }

            public short PUB_User_ID_fk { get; set; }

            public STR_DegreeImportantStuff STR_DegreeImportantStuff { get; set; }

            public decimal STR_Dis_ID_fk { get; set; }

            public STR_RegimentationStuff STR_RegimentationStuff { get; set; }

            public int STR_Rs_ID_fk { get; set; }

            public EntityCollection<STR_StoreDocumentDetail> STR_StoreDocumentDetail { get; set; }

            public EntityCollection<STR_StoreStuffPlus> STR_StoreStuffPlus { get; set; }

            public bool STR_Stuff_Active { get; set; }

            public string STR_Stuff_DeleteDate { get; set; }

            public string STR_Stuff_ID { get; set; }

            public bool STR_Stuff_IsExpand { get; set; }

            public string STR_Stuff_ModifyDate { get; set; }

            public string STR_Stuff_Note { get; set; }

            public Nullable<int> STR_Stuff_Parent_ID_fk { get; set; }

            public Nullable<decimal> STR_Stuff_Price { get; set; }

            public string STR_Stuff_SimilarStuff { get; set; }

            public string STR_Stuff_StuffEnName { get; set; }

            public string STR_Stuff_StuffFaName { get; set; }

            public string STR_Stuff_StuffMaintenanceTerm { get; set; }

            public string STR_Stuff_StuffModel { get; set; }

            public string STR_Stuff_Temp { get; set; }

            public Nullable<short> STR_Stuff_Type { get; set; }

            public STR_UnitStuff STR_UnitStuff { get; set; }

            public short STR_Us_ID_fk { get; set; }
        }
    }
}
